import 'package:flutter/material.dart';
class FirstPage extends StatelessWidget {
  const FirstPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        appBar: AppBar(
          leading: IconButton(icon: Icon(Icons.arrow_back), onPressed: () {
            Navigator.of(context).pop();
          },),
          backgroundColor: Colors.black45,
        ),
        body: Center(
          child: Text(
            "这是第一个界面"
          ),
        ),
      ),
    );
  }
}
